package com.hoas.quickstart.threads.chapter02.chapter02_2_7;

public class Run {

    public static void main(String[] args) {
        Service service = new Service();
        ThreadA threadA = new ThreadA( service );
        ThreadB threadB = new ThreadB( service );
        threadA.setName("A");
        threadB.setName("B");
        threadA.start();
        threadB.start();
    }

}
